package com.xuexuehai.carrecommand.dao;

import com.xuexuehai.carrecommand.entity.Privs;
import com.xuexuehai.carrecommand.entity.Rp;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author xuexuehai
 * @mailBox xuehai.xue@QQ.com
 * @date 2021/8/20 5:31 下午
 */

@Repository
public interface IRpDao extends JpaRepository<Rp,Object> {
    List<Rp> findRpByRpRole(int roleId);
}
